﻿using MainView.MyControl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MainView.Model
{
    public class RoomOper
    {
        private DevOper _devOper;
        public DevOper devOper { get => _devOper; set => _devOper = value; }
        public static Dictionary<int, RoomOper> RoomOperDic = new Dictionary<int, RoomOper>();

        public int ID { get => _iD; set => _iD = value; }       
        public string Name { get => _name; set => _name = value; }

        private int _iD = 0x01;     
        private string _name = "1-3";
      

        public RoomOper(int id, string name)
        {
            ID = id;           
            Name = name;
            devOper = new DevOper(this);
        }
    }
}
